package com.jic.point.model.vo.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
@Data
@NoArgsConstructor
@ApiModel(description = " 活动规则主表实体类")
public class ConfActivityRuleRequest extends BaseEntityRequest{
	private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "主键")
    private Long id;

    @ApiModelProperty(notes = "部门ID")
    private Long deptId;

    @ApiModelProperty(notes = "BD部门编码")
    private String bdCode;

    @ApiModelProperty(notes = "平台编码")
    private String platformCode;

    @ApiModelProperty(notes = "活动名称")
    private String name;

    @ApiModelProperty(notes = "活动编码")
    private String code;

    @ApiModelProperty(notes = "对外规则码")
    private String outRuleKey;

    @ApiModelProperty(notes = "对外活动规则b编码")
    private String outActivityRuleKey;

    @ApiModelProperty(notes = "活动描述")
    private String description;

    @ApiModelProperty(notes = "活动额度积分")
    private BigDecimal limited;

    @ApiModelProperty(notes = "活动剩余积分")
    private BigDecimal available;

    @ApiModelProperty(notes = "活动以用积分")
    private BigDecimal cost;

    @ApiModelProperty(notes = "活动总积分")
    private BigDecimal total;

    @ApiModelProperty(notes = "活动冻结积分")
    private BigDecimal frozen;

    @ApiModelProperty(notes = "未计划释放积分")
    private BigDecimal unplanRelease;

    @ApiModelProperty(notes = "活动过期释放")
    private BigDecimal overtimeRelease;

    @ApiModelProperty(notes = "活动失效释放")
    private BigDecimal invalidRelease;

    @ApiModelProperty(notes = "开始日期")
    private Date startTime;

    @ApiModelProperty(notes = "结束日期")
    private Date endTime;

    @ApiModelProperty(notes = "申请人ID")
    private Long applierId;

    @ApiModelProperty(notes = "申请原因")
    private String applyReason;

    @ApiModelProperty(notes = "申请时间")
    private Date applyTime;

    @ApiModelProperty(notes = "审批ID")
    private Long auditorId;

    @ApiModelProperty(notes = "审批原因")
    private String auditReason;

    @ApiModelProperty(notes = "审核时间")
    private Date auditTime;

    @ApiModelProperty(notes = "延期申请人")
    private Long delayApplierId;

    @ApiModelProperty(notes = "延期原因")
    private String delayApplierReason;

    @ApiModelProperty(notes = "延期审核人ID")
    private Long delayAuditorId;

    @ApiModelProperty(notes = "延期审核原因")
    private String delayAuditReason;

    @ApiModelProperty(notes = "详情")
    private String detail;

    @ApiModelProperty(notes = "来源类型")
    private String sourceType;

    @ApiModelProperty(notes = "状态（-4、提前结束；-3、双向冻结；-2、流入冻结，流出正常，-1、停用，0、正常；1、启用；2、流入正常，流出冻结；3、双向解冻；-4、延期结束；）")
    private Integer sts;
/*
    @ApiModelProperty(notes = "创建时间")
    private Date createTime;

    @ApiModelProperty(notes = "更新时间")
    private Date updateTime;

   @ApiModelProperty(notes = "创建用户")
    private Integer creator;

    @ApiModelProperty(notes = "更新用户")
    private Integer updater;*/

    @ApiModelProperty(notes = "是否删除：0不删除， 1删除 ")
    private Integer deleteFlag;


    @ApiModelProperty(notes = "0-待审核；1-审核通过；2-审核拒绝；")
    private Integer auditSts;
    @ApiModelProperty(notes = "当前动作（0-正常,1-修改,2-删除）")
    private Integer currentAction;
}
